﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace exempelTenta1_uppg5
{
    public class Node<key, value>
    {
        public key Key { get; set; }
        public value Value { get; set; }
        public Node<key, value> Next { get; set; }

        public Node()
        {
            Key = default(key);
            Value = default(value);
            Next = null;
        }

        public Node(key k, value v)
        {
            Key = k;
            Value = v;
            Next = null;
        }
    }
}
